package com.jd.basic.constant;

/**
 * @author 小林同学
 * @version 1.0
 * @description: TODO
 * @date 2023/3/7 18:36
 */
public class WechatLoginCons {
    // 微信登录APPID
    public static final String APPID = "wxd853562a0548a7d0";

    // 微信登录secret
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    // 微信登录的key
    public static final String WECHAT_CODE_KEY = "binder:%s";

    // 微信登录第二个请求接口
    public static final String SECOND_REQUEST = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";

    // 微信登录第三个请求接口
    public static final String THIRD_REQUEST = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s";


}
